<import type="css" file="Css.page" /> 
<div class="aw-container-wrap">
	<div class="container category">	
		<div class="row">	
			<div class="col-sm-12">			
				<ul class="list">			
					<li class="active"><a href="{:U('index/Find/index')}">全部</a></li>
					<?php foreach ($category_list as $key => $value) { ?>
						<li><a href="{:U('index/find/index',array('cid'=>$value['id']))}"><?php echo $value['cname'] ?></a></li>		
					<?php }?>												
				</ul>		
			</div>
		</div>
	</div>


	<div class="topic_2">
				<a href="" title="返回cgspread主站" target="_blank">
				<img src="__PUBLIC__/IMG/shop_top.jpg" alt="站长淘宝小店"></a>
				<a href="" title="加入官方QQ群" target="_blank">
				<img src="__PUBLIC__/IMG/bug.jpg" alt="加入官方QQ群"></a>
				<a href="" title="Nuke在线中文帮助文档" target="_blank">
				<img src="__PUBLIC__/IMG/author.jpg" alt="Nuke在线中文帮助文档"></a>
				<a href="" title="成为付费会员" target="_blank">
				<img src="__PUBLIC__/IMG/vip.jpg" alt="成为会员"></a>
				<a href="" title="广告合作" target="_blank">
				<img src="__PUBLIC__/IMG/ad_top.jpg" alt="广告合作"></a>
			</div>
	<div class="container">
		<div class="row">
			<div class="aw-content-wrap clearfix">
				<div class="col-sm-12 col-md-9 aw-main-content">
					<!-- 新消息通知 -->
					<div class="aw-mod aw-notification-box hide" id="index_notification">
						<div class="mod-head common-head">
							<h2>
								<span class="pull-right"><a href="http://nuke.cgspread.com/account/setting/privacy/#notifications" class="text-color-999"><i class="icon icon-setting"></i> 通知设置</a></span>
								<i class="icon icon-bell"></i>新通知<em class="badge badge-important" name="notification_unread_num">0</em>
							</h2>
						</div>
						<div class="mod-body">
							<ul id="notification_list"></ul>
						</div>
						<div class="mod-footer clearfix">
							<a href="javascript:;" onclick="AWS.Message.read_notification(false, 0, false);" class="pull-left btn btn-mini btn-gray">我知道了</a>
							<a href="http://nuke.cgspread.com/notifications/" class="pull-right btn btn-mini btn-success">查看所有</a>
						</div>
					</div>
					<!-- end 新消息通知 -->
					<!-- tab切换 -->
					<ul class="nav nav-tabs aw-nav-tabs active hidden-xs">
						<li><a href="http://nuke.cgspread.com/sort_type-unresponsive">等待回复</a></li>
						<li><a href="http://nuke.cgspread.com/sort_type-hot__day-7" id="sort_control_hot">热门</a></li>
						<li><a href="http://nuke.cgspread.com/is_recommend-1">推荐</a></li>
						<li class="active"><a href="">最新</a></li>

						<h2 class="hidden-xs"><i class="icon icon-list"></i> 发现</h2>
					</ul>
					<!-- end tab切换 -->

					
					<div class="aw-mod aw-explore-list">
						<div class="mod-body">
							<div class="aw-common-list">

<?php foreach ($newlist as $key => $value) { ?>
<div class="aw-item article" data-topic-id="">
	<a class="aw-user-name hidden-xs" data-id="774" href="{:U('index/People/index',array('uid'=> $value['uid']))}" rel="nofollow"><img src="<?php echo "__ROOT__/".$value['head_img']?>" alt=""></a>	<div class="aw-question-content">
		<h4>
						<a href="{:U('index/find/moreDetail',array('id'=> $value['id']))}"><?php echo $value['title']?></a>
		</h4>
		<div class="pull-right hidden-xs contribute">
			<span class="pull-right text-color-999">贡献</span>	   
					<?php foreach ($value['replay'] as $key => $replayvalue) { ?>
						<a class="aw-user-name" data-id="772" href="" rel="nofollow"><img src="<?php echo "__ROOT__/".$replayvalue['head_img']?>" alt=""></a>
					<?php } ?>    		    
		</div>
				
		<p>
		<?php if(!empty($value['cname'])){?>
		<a class="aw-question-tags" href="<?php echo 'index/cid/'.$value['cid']?>">		
		<?php echo $value['cname']?>
		</a>
		•
		<?php } ?>
		<a href="{:U('index/People/index',array('uid'=> $value['uid']))}" class="aw-user-name"><?php echo $value['username']?></a> <span class="text-color-999">发表了文章 • <?php echo $value['replay_num']?> 个评论 • <?php echo $value['view']?>次浏览 •<?php echo date("Y-m-d H:i:s",$value['time'])?></span>
						<span class="text-color-999 related-topic hide"> •  来自相关话题</span>
		</p>
		
				<!-- 文章内容调用 -->
		<div class="markitup-box">
			<div class="img pull-right" style="display: none;"></div>
			<br><?php echo htmlspecialchars_decode($value['centent'])?>
		</div>
				<a class="more" href="{:U('index/find/moreDetail',array('id'=> $value['id']))}">查看更多</a>
				<!-- end 文章内容调用 -->
			</div>
</div>

<?php }?>

	</div>
</div>	
		<div class="mod-footer">
			<div class="page-control">
				<?php echo $page?>
			</div>
		</div>
				</div>
				</div>

				<!-- 侧边栏 -->
				<div class="col-sm-12 col-md-3 aw-side-bar hidden-xs hidden-sm">
										<div class="aw-mod aw-text-align-justify">
	<div class="mod-head">
		<a href="http://nuke.cgspread.com/topic/channel-hot" class="pull-right">更多 &gt;</a>
		<h3>热门话题</h3>
	</div>
	<div class="mod-body">
							<dl>
				<dt class="pull-left aw-border-radius-5">
					<a href="http://nuke.cgspread.com/topic/NUKE%E8%B5%84%E8%AE%AF"><img alt="" src="./发现 - Nuke中文社区_files/topic-mid-img.png"></a>
				</dt>
				<dd class="pull-left">
					<p class="clearfix">
						<span class="topic-tag">
							<a href="http://nuke.cgspread.com/topic/NUKE%E8%B5%84%E8%AE%AF" class="text" data-id="1">NUKE资讯</a>
						</span>
					</p>
					<p><b>1</b> 个问题, <b>47</b> 人关注</p>
				</dd>
			</dl>
					</div>
</div>
					<div class="aw-mod aw-text-align-justify">
	<div class="mod-head">
		<a href="http://nuke.cgspread.com/people/" class="pull-right">更多 &gt;</a>
		<h3>热门用户</h3>
	</div>
	<div class="mod-body">
		<?php foreach ($arr as $key => $value) { ?>
			<?php if(!empty($value['username'])){?>
			<dl>
				<dt class="pull-left aw-border-radius-5">
					<a href="http://nuke.cgspread.com/people/%E9%98%BF%E6%96%8C"><img alt="" src="<?php echo "__ROOT__/".$value['head_img']?>"></a>
				</dt>
				<dd class="pull-left">
					<a href="http://nuke.cgspread.com/people/%E9%98%BF%E6%96%8C" data-id="768" class="aw-user-name"><?php echo $value['username']?></a>
					<p class="signature"></p>
					<p><b><?php echo $value['num']?></b> 个问题, <b>0</b> 次赞同</p>
				</dd>
			</dl>
			<?php } ?>
		<?php } ?>		

	</div>
</div>				</div>
				<!-- end 侧边栏 -->
			</div>
		</div>
	</div>
</div>
</body></html>